package com.quxing.amazon.common;

import lombok.Getter;

import static com.quxing.amazon.common.StatusConst.ERROR;


/**
 * @author zhb
 * @description 自定义异常
 * @date 2020/11/29 14:28
 */
@Getter
public class BaseException extends RuntimeException {

    private String msg = ERROR;

    public BaseException() {
    }

    public BaseException(String msg) {
        super(msg);
        this.msg = msg;
    }
}
